package com.devilvan.betrice.aiqicha.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.devilvan.betrice.aiqicha.deserialize.ParseHyphenDeserializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @author Evad.Wu
* @Description 爱企查-裁决文书信息 值对象
* @date 2022-09-23
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "爱企查-裁决文书信息 值对象")
public class AiqichaLegalDocVo {
    @Schema(description = "企业系统ID")
    @JSONField(deserialize = false)
    private Long pid;
    @Schema(description = "被投资企业")
    @JSONField(alternateNames = {"compName"})
    private String compName;
    @Schema(description = "案件编号")
    @JSONField(alternateNames = {"caseNo"})
    private String caseNo;
    @Schema(description = "裁决日期")
    @JSONField(alternateNames = {"verdictDate"}, deserializeUsing = ParseHyphenDeserializer.class)
    private Date verdictDate;
    @Schema(description = "案件ID")
    @JSONField(alternateNames = {"wenshuId"})
    private String wenshuId;
    @Schema(description = "案件名称")
    @JSONField(alternateNames = {"wenshuName"})
    private String wenshuName;
    @Schema(description = "合同纠纷")
    @JSONField(alternateNames = {"type"})
    private String type;
    @Schema(description = "案件身份")
    @JSONField(alternateNames = {"role"})
    private String role;
}
